/*
* @Title: 注销账户
* @Created by: emiya
*/
<template>
	<view class="box">
		<comHeader :config="navConfig" />
		<view class="contitle">请选择注销原因：</view>
		<view class="mainback">
			<view class="man" v-for="setmain in listdata" @tap="jump(setmain)" :key="setmain.id">
				 <label class="radio"><radio value="r2" /></label>
				<view>{{setmain.title}}</view>
			</view>
		</view>
		<view class="canbun">确认解绑</view>
	</view>
</template>

<script>
	import uniIcon from "@/components/uni-icon/uni-icon.vue"
	export default {
		components: {
			uniIcon
		},
		data() {
			return {
				navConfig: {
					isFixed: false, //是否absolute布局
					comScroll:0,
					left: {

						isShowLeft: true,
						leftGobackColor: 'black', //左边返回icon颜色
					},
					mid: {
						isShowMid: true,
						text: '账户注销',
						textColor: '#000'
					},
					right: {
						text: '',
						isShowRight: false,
						ico: '', //右侧图标地址
						isShowRightIco: '' //是否显示右侧图标
					}
				},
				listdata: [{
					id: 0,
					title: "需要解除手机",
					url: ""
				}, {
					id: 1,
					title: "需要解除邮箱",
					url: ""
				}, {
					id: 2,
					title: "这是多余账户",
					url: ""
				}, {
					id: 3,
					title: "安全/隐私顾虑",
					url: ""
				}, {
					id: 4,
					title: "其他",
					url: ""
				}],


			}
		},
		methods: {
			radioChange: function(evt) {
				for (let i = 0; i < this.items.length; i++) {
					if (this.items[i].value === evt.target.value) {
						this.current = i;
						break;
					}
				}
			}
		}
	}
</script>

<style scoped>
	* {
		margin: 0;
		padding: 0;
	}

	.no-menu {
		margin-bottom: 0px;
	}

	.box {
		background-color: #F6F6F6;
		height: 100vh;
		font-size: 34upx;
	}

	.mainback {
		background: #FFFFFF;
	}

	.man {
		display: flex;
		justify-content: end;
		width: 90%;
		margin: auto;
		padding: 25upx 0upx;
		border-bottom: 1px solid #EEEEEE;
		font-size: 28upx;
	}

	.mainback .man:last-child {
		border-bottom: 0upx solid #FFFFFF !important;
	}

	.setimga {
		width: 30upx;
		height: 50upx;
	}

	.padd {
		margin-top: 25upx;
	}

	.setbun {
		width: 100%;
		background-color: #FFFFFF;
		text-align: center;
		margin-top: 20upx;
		padding: 25upx 0px;
	}
	.canbun{
		width: 80%;
		margin: 40upx auto;
		color: #FFFFFF;
		text-align: center;
		line-height: 100upx;
		background-image: linear-gradient(to right, #FFA247 , #FF8100);
		border-radius:20upx;
		font-size: 32upx;
	}
	.contitle{
		background-color:#F6F6F6;
		padding:100upx 0upx 25upx 50upx;
		font-size: 28upx;
	}
</style>
